package com.wf.it.common.api.hystrix;

import com.wf.it.common.api.PlanService;
import com.wf.it.common.entity.Plan;
import com.wf.it.common.vo.Result;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlanServiceHystrixImpl implements PlanService {
    @Override
    public Result<List<Plan>> findByDocId(String empno) {
        return new Result<>(600,null,"网络故障,请稍后重试");
    }

    @Override
    public Result<Plan> findById(int planid) {
        return new Result<>(600,null,"网络故障,请稍后重试");
    }

    @Override
    public Result updateBookCount(int planid, int num) {
        return new Result<>(600,null,"网络故障,请稍后重试");
    }
}
